package com.hub.frame.pojo;

/**
 * @author hub
 */
public class PagerResult {

    private Long recordSize;

    private Long pageIndex;

    private Long pageSize;

    private Boolean isEnd;

    public PagerResult() {
    }
    public PagerResult(Boolean isEnd) {
        this.isEnd = isEnd;
    }
    public PagerResult(Long pageIndex, Long recordSize) {
        this.pageIndex = pageIndex;
        this.recordSize = recordSize;
    }

    public Long getRecordSize() {
        return recordSize;
    }

    public void setRecordSize(Long recordSize) {
        this.recordSize = recordSize;
    }

    public Long getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Long pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Boolean getEnd() {
        return isEnd;
    }

    public void setEnd(Boolean end) {
        isEnd = end;
    }
}
